#ifndef __DY_SV17F_H
#define __DY_SV17F_H

#include "stdint.h"

#define Drive_USB                    0x00
#define Drive_SD                     0x01
#define Drive_FLASH                  0x02

#define ControlCommand_Start         0x02
#define ControlCommand_Pause         0x03
#define ControlCommand_Stop          0x04
#define ControlCommand_Last          0x05
#define ControlCommand_Next          0x06
#define ControlCommand_VoiceUp       0x14
#define ControlCommand_VoiceDown     0x15
#define ControlCommand_LastDirctory  0x0E
#define ControlCommand_NextDirctory  0x0F
#define ControlCommand_Over          0x10

#define GetCommand_Status            0x01
#define GetCommand_Drive             0x09
#define GetCommand_NowDrive          0x0A
#define GetCommand_TotalNum          0x0C
#define GetCommand_NowNum            0x0D
#define GetCommand_FileNum           0x11
#define GetCommand_NowFileNum        0x12

#define SetCommand_AppointChapter    0x07
#define SetCommand_AppointPath       0x08
#define SetCommand_Voice             0x13
void DYSV17F_Uart_Init(void);
void DYSV17F_ControlCommand(uint8_t CommandType);
uint8_t DYSV17F_GetCommand(uint8_t CommandType);
void DYSV17F_Set_AppointChapter(uint16_t Chapter);
void DYSV17F_Set_AppointPath(uint8_t Drive,uint8_t *Path);
uint8_t DYSV17F_Set_Voice(uint8_t Voice);
#endif